#if !defined(RECT_H)
#define RECT_H
struct Rect
{
  double min[2];
  double max[2];
  Rect()  {}
  Rect(double a_minX, double a_minY, double a_maxX, double a_maxY)
  {
    min[0] = a_minX;
    min[1] = a_minY;

    max[0] = a_maxX;
    max[1] = a_maxY;
  }
};
#endif